net/http.http2ClientConn.streamsReserved (field)
8 uses
net/http (current package)
h2_bundle.go#L7501: streamsReserved int // incr by ReserveNewRequest; decr on RoundTrip
h2_bundle.go#L8088: cc.streamsReserved++
h2_bundle.go#L8140: StreamsReserved: cc.streamsReserved,
h2_bundle.go#L8171: maxConcurrentOkay = int64(len(cc.streams)+cc.streamsReserved+1) <= int64(cc.maxConcurrentStreams)
h2_bundle.go#L8226: if len(cc.streams) > 0 || cc.streamsReserved > 0 {
h2_bundle.go#L8411: if cc.streamsReserved > 0 {
h2_bundle.go#L8412: cc.streamsReserved--
h2_bundle.go#L9370: if closeOnIdle && cc.streamsReserved == 0 && len(cc.streams) == 0 {
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |